<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

class NewsFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'type' => $this->faker->numberBetween(1, 5),
            'title' => $this->faker->sentence(6),
            'description' => $this->faker->sentence(10),
            'content' => $this->faker->text(100),
            'image' => $this->faker->imageUrl(640, 480, 'news', true)
        ];
    }
}
